<template>
  <div>
    <table class="table1 owntable mb20 tableLayout" border="0" cellspacing="0" cellpadding="1" width="100%">
      <tr>
        <td width="150">设计开发输入管理编号</td>
        <td>{{ item.number }}</td>
        <td width="150">产品名称</td>
        <td>{{ item.name }}</td>
      </tr>
      <tr>
        <td>规格型号</td>
        <td>{{ item.skus }}</td>
        <td>产品编号</td>
        <td>{{ item.code }}</td>
      </tr>
      <tr>
        <td>管理部门</td>
        <td>{{ item.manageDeptName }}</td>
        <td>负责人</td>
        <td>{{ item.manageUserName }}</td>
      </tr>
      <tr>
        <td>编制部门</td>
        <td colspan="3">{{ item.createDeptName }}</td>
      </tr>
      <tr>
        <td>检验设备</td>
        <td colspan="3">{{ item.deviceList && item.deviceList.length != 0 ? '有' : '无' }}</td>
      </tr>
    </table>
    <table class="table1 owntable mb20 tableLayout" border="0" cellspacing="0" cellpadding="1" width="100%" v-if="item.deviceList && item.deviceList.length != 0">
      <tr>
        <td class="gray_bg">设备名称</td>
        <td class="gray_bg">设备型号</td>
        <td class="gray_bg">设备编号</td>
      </tr>
      <tr v-for="(v, i) in item.deviceList" :key="i">
        <td class="white_bg">{{ v.deviceName }}</td>
        <td class="white_bg">{{ v.deviceModel }}</td>
        <td class="white_bg">{{ v.deviceNumber }}</td>
      </tr>
    </table>
  </div>
</template>

<script>
export default {
  props: {
    item: {}
  }
};
</script>

<style></style>
